from selenium import webdriver
from time import sleep
from options import options

url = r'https://www.baidu.com/'
driver = webdriver.Chrome(options=options)
driver.get(url)
driver.get_screenshot_as_file(r'D:\python_pro\python_230901\day10_ddt\1_ddt basic\baidu.png')  # 注意：绝对路径，不能有中文
